package com.rongji.dfish.demo.test.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.rongji.dfish.demo.test.view.DemoTestView;
import com.rongji.dfish.ui.layout.View;

@RequestMapping("/demoTest")
@Controller
public class DemoTestController {

	@RequestMapping("/index")
	@ResponseBody
	public Object index(HttpServletRequest request) throws Exception {
		View view = DemoTestView.buildIndexView();
		return view;
	}
	
}
